package com.groupbuying.currency.consumer.connector;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * 财务中心
 *
 * @Author Vincentxin
 * @Date 2019/9/3
 */
@Service
@FeignClient(name = "service-financial")
public interface FinancialFeign {
    /**
     * 积分同步通知金融中心
     **/
    @PostMapping(value = "/gyintegralpay/integralpay")
    Map<String, Object> integralpay(@RequestParam Map<String, Object> requestMap);
}
